Translation Option Constants
Your application passes one of the
NavTranslationOptions
constants to the
howToTranslate
parameter to specify how files are to be translated by the
function
NavTranslateFile
.
enum {
kNavTranslateInPlace = 0,
kNavTranslateCopy = 1
};
typedef UInt32 NavTranslationOptions;
Constant Descriptions
-
kNavTranslateInPlace
-
Tells Navigation Services to replace the source file with the translation. This setting is the default for Save dialog boxes.
-
kNavTranslateCopy
-
Tells Navigation Services to create a translated copy of the source file. This setting is the default for Open dialog boxes. The function
NavGetFile
always uses this setting under automatic translation.
© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)